class_name Detector
extends Node2D

@export var detector_type:GameEnum.DetectorType
var enable:bool = false
var detect_component:DetectComponent

func init_detector(detect_component:DetectComponent):
	self.detect_component = detect_component
func detect():
	if not enable:
		return
